/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package be.djdb.game.othello;

import java.awt.Paint;

import javax.swing.JComponent;

/**
* @author Lieven Roegiers
* @copyright 2012
* @from JAVA_othello
* @repos http://code.google.com/p/java-hogeschool-projecten/
*/
class Steen {
    boolean gekleurd;
    public Steen(boolean gekleurd){
        this.gekleurd = gekleurd;
    }
    public boolean isgekleurd() {
        return gekleurd;
    }
    @Override
    public String toString(){
        return new String((gekleurd)?"   k  ":"   w  ");
    }
	public void switchstone() {
		gekleurd = !gekleurd;
	}
}
